﻿////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2008-2011 Andreas Huber Doenni</copyright>
// Distributed under the GNU General Public License version 2 (GPLv2).
// See accompanying file License.txt or copy at http://phuse.codeplex.com/license.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace Phuse.Net.Nntp
{
    using System;

    /// <summary>The exception that is thrown when an NNTP server answers with a 480 response code.</summary>
    /// <threadsafety static="true" instance="false"/>
    public sealed class MissingAuthenticationException : ClientException
    {
        /// <summary>Initializes a new instance of the <see cref="MissingAuthenticationException"/> class.</summary>
        public MissingAuthenticationException() : this(null, null)
        {
        }

        /// <summary>Initializes a new instance of the <see cref="MissingAuthenticationException"/> class.</summary>
        public MissingAuthenticationException(string message) : this(message, null)
        {
        }

        /// <summary>Initializes a new instance of the <see cref="MissingAuthenticationException"/> class.</summary>
        public MissingAuthenticationException(string message, Exception innerException) : base(message, innerException)
        {
        }
    }
}
